home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR10
/
SPX20.ZIP
/
SPX_INT.ZIP
/
SPX_EFF.INT
< prev
next >
Wrap
Text File
|
1993-09-14
|
1KB
|
41 lines
Unit spx_eff;
{$X+,O+ }
{ SPX Library Version 2.0 Copyright 1993 Scott D. Ramsay }
Interface
uses spx_vga;
const
wmax = 100;
type
usercp = procedure (f,t,yline:longint);
Pcycle = ^Tcycle;
Tcycle = object
cyc_next,
from_x,from_y,
cyc_x,cyc_y,
cyc_width,
cyc_height,
cycley,
cyclex,fr_size,
am_size : word;
cycle_cos : array[0..wmax-1] of integer;
constructor init(freq,size:integer);
destructor done;virtual;
procedure changewave(freq,size:integer);virtual;
procedure docycle(from,too,mode:byte); virtual;
procedure cycle_move; virtual;
procedure adjustcyclenext; virtual;
end;
var
usercycle : usercp;
procedure linemove(s,d:longint;cnt:word);
procedure wordmove(var source,dest;cnt:word);
procedure cycleline(f,t:longint;cyclex,cycle_width:word);